import request from '@/utils/request.js'

export function getLogin (data) {
  return request({
    url: '/user/login',
    method: 'POST',
    data
  })
}

export function getRegiste (data) {
  return request({
    url: '/user/registered',
    method: 'POST',
    data
  })
}

export function setUserFavorite () {
  return request({
    url: '/user/favorites'

  })
}
